package com.easywan.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.easywan.dao.AdminMapper;
import com.easywan.service.AdminService;
import com.easywan.util.Utils;
import com.easywan.vo.Admin;
import com.easywan.vo.base.BaseModel;
@Service
public class AdminServiceImpl implements AdminService{
	@Autowired
	AdminMapper adminMapper;
	@Override
	public Admin login(Admin admin) {
		return Utils.listGetOne(adminMapper.select(admin));
	}
	
	
}
